import request from '@/utils/request'

/**
 * 获取搜索联想建议
 */
export const getSearchSuggestion = q =>
  request({
    method: 'GET',
    url: '/v1_0/suggestion',
    params: {
      q,
    },
  })
